//
//  StatusNormalCell.swift
//  weibo_swift
//
//  Created by dulinlong on 15/7/5.
//  Copyright © 2015年 sheji_56. All rights reserved.
//

import UIKit
import FFAutoLayout

class StatusNormalCell: StatusCell {

    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        let constranit = pictureView.ff_AlignVertical(ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 290, height: 90), offset: CGPoint(x: 0, y: 12))
        //取出宽高约束
        consWidth = pictureView.ff_Constraint(constranit, attribute: NSLayoutAttribute.Width)!
        consHeight = pictureView.ff_Constraint(constranit, attribute: NSLayoutAttribute.Height)!
    }

    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
